From a1c94934d211d69f9a2cdf03d64327bcd7cccb41 Mon Sep 17 00:00:00 2001
From: Brendan Tildesley <mail@brendan.scot>
Date: Thu, 17 Mar 2022 19:49:12 +1100
Subject: [PATCH] startxfce4: load plugins from user profile

---
diff --git a/scripts/startxfce4.in b/scripts/startxfce4.in
--- a/scripts/startxfce4.in
+++ b/scripts/startxfce4.in
@@ -101,6 +101,8 @@ else
   prog=/bin/sh
 fi

+    export X_XFCE4_LIB_DIRS="${GUIX_PROFILE:-$HOME/.guix-profile}/lib/xfce4/${X_XFCE4_LIB_DIRS:+:}$X_XFCE4_LIB_DIRS"
+
 if [ -f "$HOME/.xserverrc" ]; then
   SERVERRC="$HOME/.xserverrc $SERVERRC"
 elif [ -f /etc/X11/xinit/xserverrc ]; then


